import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'normalize.css'
import 'reset-css';
import '@/assets/css/index.scss'

import VueNativeSock from 'vue-native-websocket'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import 'vue-draggable-resizable'
import 'vue-draggable-resizable/dist/VueDraggableResizable.css'

import '@/utils/getComponent.js' // 全局批量注册组件
Vue.prototype.$websocket = VueNativeSock

// Vue.component('VueDrag', vdr)
Vue.use(ElementUI);
Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')